<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的 - 快捷跑腿</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://code.iconify.design/3/3.1.1/iconify.min.js"></script>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        }
        
        body {
            background-color: #f8fafc;
            color: #1e293b;
            padding-bottom: 70px;
        }
        
        .container {
            max-width: 600px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .header {
            background: linear-gradient(135deg, #3b82f6, #1e40af);
            color: white;
            padding: 25px 20px;
            border-radius: 0 0 25px 25px;
            margin-bottom: 25px;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
        }
        
        .user-info {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }
        
        .avatar {
            width: 75px;
            height: 75px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            border: 3px solid rgba(255, 255, 255, 0.4);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        
        .user-details {
            flex: 1;
        }
        
        .user-name {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 5px;
            text-shadow: 0 1px 2px rgba(0,0,0,0.1);
        }
        
        .user-level {
            display: inline-block;
            background: linear-gradient(135deg, rgba(255,215,0,0.8), rgba(255,193,7,0.8));
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 13px;
            font-weight: 600;
            color: #7c2d12;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        /* 钱包卡片 - 优化按钮 */
        .wallet-card {
            background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
            border-radius: 18px;
            padding: 20px;
            margin-bottom: 25px;
            box-shadow: 0 6px 15px rgba(14, 165, 233, 0.15);
            border: 1px solid rgba(14, 165, 233, 0.1);
            position: relative;
            overflow: hidden;
        }
        
        .wallet-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .wallet-title {
            font-size: 18px;
            font-weight: 700;
            color: #0c4a6e;
            display: flex;
            align-items: center;
        }
        
        .wallet-title .icon {
            margin-right: 8px;
            color: #0369a1;
            font-size: 20px;
        }
        
        .wallet-amount {
            font-size: 32px;
            font-weight: 800;
            color: #0369a1;
            margin-bottom: 15px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .wallet-actions {
            display: flex;
            gap: 10px;
        }
        
        .wallet-btn {
            flex: 1;
            text-align: center;
            padding: 8px 5px;
            background: linear-gradient(135deg, #0ea5e9, #38bdf8);
            border-radius: 8px;
            color: white;
            font-size: 13px;
            font-weight: 600;
            box-shadow: 0 3px 6px rgba(14, 165, 233, 0.3);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .wallet-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(14, 165, 233, 0.4);
        }
        
        /* 订单管理 */
        .order-section {
            background: white;
            border-radius: 18px;
            padding: 20px;
            margin-bottom: 25px;
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
            border: 1px solid #f1f5f9;
        }
        
        .section-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #1e293b;
        }
        
        .section-title .icon {
            margin-right: 8px;
            color: #3b82f6;
            font-size: 20px;
        }
        
        .order-stats {
            display: flex;
            justify-content: space-around;
            text-align: center;
            margin: 15px 0;
        }
        
        .order-stat {
            padding: 10px 5px;
            flex: 1;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .order-stat:hover {
            transform: translateY(-3px);
        }
        
        .order-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 10px;
            font-size: 18px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .order-count {
            font-size: 20px;
            font-weight: 800;
            margin-bottom: 5px;
        }
        
        .order-label {
            font-size: 13px;
            font-weight: 600;
            color: #64748b;
        }
        
        /* 不同订单状态的样式 */
        .pending .order-icon {
            background: linear-gradient(135deg, #dbeafe, #93c5fd);
            color: #1e40af;
        }
        .pending .order-count {
            color: #1e40af;
        }
        
        .progress .order-icon {
            background: linear-gradient(135deg, #fef3c7, #fcd34d);
            color: #92400e;
        }
        .progress .order-count {
            color: #92400e;
        }
        
        .completed .order-icon {
            background: linear-gradient(135deg, #dcfce7, #86efac);
            color: #166534;
        }
        .completed .order-count {
            color: #166534;
        }
        
        .cancelled .order-icon {
            background: linear-gradient(135deg, #fee2e2, #fca5a5);
            color: #991b1b;
        }
        .cancelled .order-count {
            color: #991b1b;
        }
        
        /* 功能菜单 */
        .section {
            background-color: white;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 15px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            border: 1px solid #f1f5f9;
        }
        
        .menu-item {
            display: flex;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid #f1f5f9;
            transition: all 0.2s ease;
            cursor: pointer;
        }
        
        .menu-item:hover {
            background-color: #f8fafc;
            border-radius: 8px;
            padding-left: 10px;
            padding-right: 10px;
        }
        
        .menu-item:last-child {
            border-bottom: none;
        }
        
        .menu-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
            color: #0369a1;
            font-size: 20px;
        }
        
        .menu-text {
            flex: 1;
            font-size: 16px;
            font-weight: 500;
        }
        
        .menu-arrow {
            color: #94a3b8;
        }
        
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: white;
            display: flex;
            justify-content: space-around;
            padding: 12px 0;
            border-top: 1px solid #e2e8f0;
            z-index: 100;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: #94a3b8;
            font-size: 12px;
            transition: all 0.2s ease;
        }
        
        .nav-item.active {
            color: #3b82f6;
        }
        
        .nav-item:hover {
            color: #3b82f6;
        }
        
        .nav-icon {
            font-size: 22px;
            margin-bottom: 4px;
        }
        
        .view-all {
            color: #3b82f6;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 头部用户信息 -->
        <div class="header">
            <div class="user-info">
                <div class="avatar">
                    <span class="iconify" data-icon="mdi:account" style="color: white; font-size: 32px;"></span>
                </div>
                <div class="user-details">
                    <div class="user-name">张先生</div>
                    <div class="user-level">黄金会员</div>
                </div>
                <div>
                    <span class="iconify" data-icon="mdi:cog" style="color: white; font-size: 24px;"></span>
                </div>
            </div>
        </div>
        
        <!-- 钱包卡片 -->
        <div class="wallet-card">
            <div class="wallet-header">
                <div class="wallet-title">
                    <span class="iconify icon" data-icon="mdi:wallet"></span>
                    我的钱包
                </div>
                <div>
                    <span class="iconify" data-icon="mdi:chevron-right" style="color: #0ea5e9;"></span>
                </div>
            </div>
            <div class="wallet-amount">¥ 256.80</div>
            <div class="wallet-actions">
                <div class="wallet-btn">充值</div>
                <div class="wallet-btn">提现</div>
                <div class="wallet-btn">明细</div>
            </div>
        </div>
        
        <!-- 订单管理 -->
        <div class="order-section">
            <div class="section-title">
                <span>
                    <span class="iconify icon" data-icon="mdi:clipboard-list"></span>
                    我的订单
                </span>
                <span class="view-all">查看全部 ></span>
            </div>
            
            <div class="order-stats">
                <div class="order-stat pending">
                    <div class="order-icon">
                        <span class="iconify" data-icon="mdi:clock-outline"></span>
                    </div>
                    <div class="order-count">5</div>
                    <div class="order-label">待接单</div>
                </div>
                <div class="order-stat progress">
                    <div class="order-icon">
                        <span class="iconify" data-icon="mdi:progress-clock"></span>
                    </div>
                    <div class="order-count">3</div>
                    <div class="order-label">进行中</div>
                </div>
                <div class="order-stat completed">
                    <div class="order-icon">
                        <span class="iconify" data-icon="mdi:check-circle"></span>
                    </div>
                    <div class="order-count">28</div>
                    <div class="order-label">已完成</div>
                </div>
                <div class="order-stat cancelled">
                    <div class="order-icon">
                        <span class="iconify" data-icon="mdi:close-circle"></span>
                    </div>
                    <div class="order-count">2</div>
                    <div class="order-label">已取消</div>
                </div>
            </div>
        </div>
        
        <!-- 功能菜单 -->
        <div class="section">
            <div class="section-title">常用功能</div>
            
            <div class="menu-item">
                <div class="menu-icon">
                    <span class="iconify" data-icon="mdi:heart"></span>
                </div>
                <div class="menu-text">我的收藏</div>
                <div class="menu-arrow">
                    <span class="iconify" data-icon="mdi:chevron-right"></span>
                </div>
            </div>
            
            <div class="menu-item">
                <div class="menu-icon">
                    <span class="iconify" data-icon="mdi:map-marker"></span>
                </div>
                <div class="menu-text">我的地址</div>
                <div class="menu-arrow">
                    <span class="iconify" data-icon="mdi:chevron-right"></span>
                </div>
            </div>
            
            <div class="menu-item">
                <div class="menu-icon">
                    <span class="iconify" data-icon="mdi:account-group"></span>
                </div>
                <div class="menu-text">我的团队</div>
                <div class="menu-arrow">
                    <span class="iconify" data-icon="mdi:chevron-right"></span>
                </div>
            </div>
            
            <div class="menu-item">
                <div class="menu-icon">
                    <span class="iconify" data-icon="mdi:gift"></span>
                </div>
                <div class="menu-text">优惠券</div>
                <div class="menu-arrow">
                    <span class="iconify" data-icon="mdi:chevron-right"></span>
                </div>
            </div>
        </div>
        
        <!-- 服务相关 -->
        <div class="section">
            <div class="section-title">服务相关</div>
            
            <div class="menu-item">
                <div class="menu-icon">
                    <span class="iconify" data-icon="mdi:headphones"></span>
                </div>
                <div class="menu-text">客服中心</div>
                <div class="menu-arrow">
                    <span class="iconify" data-icon="mdi:chevron-right"></span>
                </div>
            </div>
            
            <div class="menu-item">
                <div class="menu-icon">
                    <span class="iconify" data-icon="mdi:help-circle"></span>
                </div>
                <div class="menu-text">帮助中心</div>
                <div class="menu-arrow">
                    <span class="iconify" data-icon="mdi:chevron-right"></span>
                </div>
            </div>
            
            <div class="menu-item">
                <div class="menu-icon">
                    <span class="iconify" data-icon="mdi:shield-check"></span>
                </div>
                <div class="menu-text">隐私政策</div>
                <div class="menu-arrow">
                    <span class="iconify" data-icon="mdi:chevron-right"></span>
                </div>
            </div>
            
            <div class="menu-item">
                <div class="menu-icon">
                    <span class="iconify" data-icon="mdi:file-document"></span>
                </div>
                <div class="menu-text">用户协议</div>
                <div class="menu-arrow">
                    <span class="iconify" data-icon="mdi:chevron-right"></span>
                </div>
            </div>
        </div>
        
        <!-- 设置 -->
        <div class="section">
            <div class="section-title">设置</div>
            
            <div class="menu-item">
                <div class="menu-icon">
                    <span class="iconify" data-icon="mdi:bell"></span>
                </div>
                <div class="menu-text">消息通知</div>
                <div class="menu-arrow">
                    <span class="iconify" data-icon="mdi:chevron-right"></span>
                </div>
            </div>
            
            <div class="menu-item">
                <div class="menu-icon">
                    <span class="iconify" data-icon="mdi:lock"></span>
                </div>
                <div class="menu-text">账号安全</div>
                <div class="menu-arrow">
                    <span class="iconify" data-icon="mdi:chevron-right"></span>
                </div>
            </div>
            
            <div class="menu-item">
                <div class="menu-icon">
                    <span class="iconify" data-icon="mdi:palette"></span>
                </div>
                <div class="menu-text">主题设置</div>
                <div class="menu-arrow">
                    <span class="iconify" data-icon="mdi:chevron-right"></span>
                </div>
            </div>
            
            <div class="menu-item">
                <div class="menu-icon">
                    <span class="iconify" data-icon="mdi:logout"></span>
                </div>
                <div class="menu-text" style="color: #ef4444;">退出登录</div>
                <div class="menu-arrow">
                    <span class="iconify" data-icon="mdi:chevron-right"></span>
                </div>
            </div>
        </div>

    </div>
    
    <!-- 底部导航 -->
    <div class="bottom-nav">
        <a href="./index.html" class="nav-item">
            <span class="nav-icon iconify" data-icon="mdi:home-outline"></span>
            <span>首页</span>
        </a>
        <a href="./order.html" class="nav-item">
            <span class="nav-icon iconify" data-icon="mdi:clipboard-list-outline"></span>
            <span>订单</span>
        </a>
        <a href="./message.html" class="nav-item">
            <span class="nav-icon iconify" data-icon="mdi:message-outline"></span>
            <span>消息</span>
        </a>
        <a href="./me.html" class="nav-item active">
            <span class="nav-icon iconify" data-icon="mdi:account-outline"></span>
            <span>我的</span>
        </a>
    </div>

    <script>
        // 交互效果
        document.addEventListener('DOMContentLoaded', function() {
            // 为菜单项添加点击效果
            const menuItems = document.querySelectorAll('.menu-item');
            menuItems.forEach(item => {
                item.addEventListener('click', function() {
                    // 简单的点击反馈
                    this.style.backgroundColor = '#f1f5f9';
                    setTimeout(() => {
                        this.style.backgroundColor = '';
                    }, 200);
                    
                    // 根据菜单文本执行不同操作
                    const menuText = this.querySelector('.menu-text').textContent;
                    alert(`点击了: ${menuText}`);
                });
            });
            
            // 钱包按钮点击事件
            const walletBtns = document.querySelectorAll('.wallet-btn');
            walletBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    const btnText = this.textContent.trim();
                    alert(`执行操作: ${btnText}`);
                });
            });
            
            // 订单统计点击事件
            const orderStats = document.querySelectorAll('.order-stat');
            orderStats.forEach(stat => {
                stat.addEventListener('click', function() {
                    const label = this.querySelector('.order-label').textContent;
                    alert(`查看${label}订单`);
                });
            });
            
            // 查看全部订单
            const viewAll = document.querySelector('.view-all');
            if (viewAll) {
                viewAll.addEventListener('click', function() {
                    alert('查看全部订单');
                });
            }
        });
    </script>
</body>
</html>
